package com.hns.can.service.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.hns.can.common.entity.BaseEntity;

@Entity
@Table(name = "T_BASE_ELECT_FENC_CAR_REL")
public class BaseElectFencCarRelEntity extends BaseEntity {
    
    // Fields
    
    private String relId;
    private String fencId;
    private String eqmtCd;
    private String carId;
    private Date   crtTime;
    private String crtUser;
    
    private String driveDrc;
    private String issuedSt;
    private String relSt;
    
    private String fencCd;
    private String fencName;
    private String lineName;
    private String licPltNo;

    private String fencName1;
    private String fencName2;
    private String lineId;
    private String organId;
    private String organName;
    
    // Constructors
    
    /** default constructor */
    public BaseElectFencCarRelEntity() {
    }
    
    @Id
    @Column(name = "REL_ID",
            unique = true,
            nullable = false,
            length = 32)
    public String getRelId() {
        return this.relId;
    }
    
    public void setRelId(String relId) {
        this.relId = relId;
    }
    
    @Column(name = "FENC_ID",
            nullable = false,
            length = 32)
    public String getFencId() {
        return this.fencId;
    }
    
    public void setFencId(String fencId) {
        this.fencId = fencId;
    }
    
    @Column(name = "EQMT_CD",
            nullable = false,
            length = 32)
    public String getEqmtCd() {
        return this.eqmtCd;
    }
    
    public void setEqmtCd(String eqmtCd) {
        this.eqmtCd = eqmtCd;
    }
    
    @Column(name = "CAR_ID",
            nullable = false,
            length = 32)
    public String getCarId() {
        return this.carId;
    }
    
    public void setCarId(String carId) {
        this.carId = carId;
    }
    
    @Column(name = "CRT_TIME",
            length = 7)
    public Date getCrtTime() {
        return this.crtTime;
    }
    
    public void setCrtTime(Date crtTime) {
        this.crtTime = crtTime;
    }
    
    @Column(name = "CRT_USER",
            length = 32)
    public String getCrtUser() {
        return this.crtUser;
    }
    
    public void setCrtUser(String crtUser) {
        this.crtUser = crtUser;
    }
    @Column(name = "DRIVE_DRC")
    public String getDriveDrc() {
        return driveDrc;
    }

    public void setDriveDrc(String driveDrc) {
        this.driveDrc = driveDrc;
    }

    @Column(name = "ISSUED_ST")
    public String getIssuedSt() {
        return issuedSt;
    }

    public void setIssuedSt(String issuedSt) {
        this.issuedSt = issuedSt;
    }

    @Column(name = "REL_ST")
    public String getRelSt() {
        return relSt;
    }

    public void setRelSt(String relSt) {
        this.relSt = relSt;
    }

    @Transient
    public String getLineName() {
        return lineName;
    }
    
    public void setLineName(String lineName) {
        this.lineName = lineName;
    }
    
    @Transient
    public String getLicPltNo() {
        return licPltNo;
    }
    
    public void setLicPltNo(String licPltNo) {
        this.licPltNo = licPltNo;
    }
    
    @Transient
    public String getFencCd() {
        return fencCd;
    }

    public void setFencCd(String fencCd) {
        this.fencCd = fencCd;
    }

    @Transient
    public String getFencName() {
        return fencName;
    }
    
    public void setFencName(String fencName) {
        this.fencName = fencName;
    }

    @Transient
    public String getFencName1() {
        return fencName1;
    }

    public void setFencName1(String fencName1) {
        this.fencName1 = fencName1;
    }

    @Transient
    public String getFencName2() {
        return fencName2;
    }

    public void setFencName2(String fencName2) {
        this.fencName2 = fencName2;
    }

    @Transient
    public String getLineId() {
        return lineId;
    }

    public void setLineId(String lineId) {
        this.lineId = lineId;
    }

    @Transient
    public String getOrganId() {
        return organId;
    }

    public void setOrganId(String organId) {
        this.organId = organId;
    }

    @Transient
    public String getOrganName() {
        return organName;
    }

    public void setOrganName(String organName) {
        this.organName = organName;
    }
}
